<!--
 * Afrimesh: easy management for B.A.T.M.A.N. wireless mesh networks
 * Copyright (C) 2008-2009 Meraka Institute of the CSIR
 * All rights reserved.
 *  
 * This software is licensed as free software under the terms of the
 * New BSD License. See /LICENSE for more information.
-->

<h2>Manage Customers</h2>

<div id="widget-customers-manage" class="widget customers-manage">please wait a moment...</div>

<div id="widget-customers-new" class="widget customers-manage" style="visibility:hidden;">
  <table>
    <tbody>
      <tr id="new_active">
        <td><input type="text" id="username" /></td>  
        <td>
          <select id="user_type">
            <option value ="disabled">disabled</option>
            <!-- option value ="metered">metered</option -->
            <option value ="prepaid">prepaid</option>
            <option value ="flatrate" selected>flatrate</option>
          </select>
        </td>
        <td class="command"><span id="save" class="button">save</span></td>
      </tr>
    </tbody>
  </table>
</div>




<script type="text/javascript"> //<![CDATA[    
(function() {

  /** includes ------------------------------------------------------------ */
  load("javascript/jquery/jquery.jeditable.js");
  load("javascript/jquery/jquery.tablesorter.min.js");
  load("modules/customers.manage.js");

  /** construction -------------------------------------------------------- */
  ready = function() { // INJ 'ready' should be the only symbol we're exposing to the global namespace

    afrimesh.customers.select(populate_control);

    console.debug("loaded customers.manage.html");
    return unload;
  };

  function unload() {
    console.debug("unloaded customers.manage.html");
  };

  /** done ---------------------------------------------------------------- */
  console.debug("loaded customers.manage.js");
 
})();
//]]></script>


